<template>
    <div class="news-box">
        <div class="title">
            <h2>精选头条
                <a href="#" class="chose-more">
                    更多
                    <img src="../../../assets/right.png" alt="">
                </a></h2>
        </div>
        <ul class="news-list">
            <li>
                <div class="newslistbox1">
                    <div class="newslistbox2">
                        <a href="#">
                            <div class="newslistboximgbox">
                                <img src="../../../assets/headlineOfSelected1.png" alt="">
                            </div>
                            <p class="newstitle"> 天亮云课堂小程序端即将下线，请到PC端和M站学习交流！！！ </p>
                        </a>
                    </div>
                </div>
            </li>
            <li>
                <div class="newslistbox1">
                    <div class="newslistbox2">
                        <a href="#">
                            <div class="newslistboximgbox">
                                <img src="../../../assets/headlineOfSelected.jpg" alt="">
                            </div>
                            <p class="newstitle"> 小米集团-科大16级子琦同学成长经历分享 </p>
                        </a>
                    </div>
                </div>
            </li>
            <li>
                <div class="newslistbox1">
                    <div class="newslistbox2">
                        <a href="#">
                            <div class="newslistboximgbox">
                                <img src="../../../assets/headlineOfSelected.jpg" alt="">
                            </div>
                            <p class="newstitle"> 米联科技-科大16级子琦同学成长经历分享 </p>
                        </a>
                    </div>
                </div>
            </li>
            <li>
                <div class="newslistbox1">
                    <div class="newslistbox2">
                        <a href="#">
                            <div class="newslistboximgbox">
                                <img src="../../../assets/headlineOfSelected.jpg" alt="">
                            </div>
                            <p class="newstitle"> 米联科技-科大16级王子琦成长经历分享 </p>
                        </a>
                    </div>
                </div>
            </li>
            <li>
                <div class="newslistbox1">
                    <div class="newslistbox2">
                        <a href="#">
                            <div class="newslistboximgbox">
                                <img src="../../../assets/headlineOfSelected.jpg" alt="">
                            </div>
                            <p class="newstitle"> 米联科技-科大16级郭同学成长经历分享 </p>
                        </a>
                    </div>
                </div>
            </li>
        </ul>
    </div>
</template>

<script>
    export default {
        name: "news"
    }
</script>

<style scoped lang="less">
    * {
        margin: 0;
        padding: 0;
    }

    ul li {
        list-style: none;
    }
    h2 {
        text-align: center;
        margin-top: 50px;
        a {
            float: right;
            color: #999!important;
            font-size: 16px;
            line-height: 40px;
            font-weight: 400;
        }
    }
    .news-box {
        height: 268.75px;
    }
    .title {
        margin: auto;
        width: 1200px;
        padding: 0 12px 10px 62px;
        border-bottom: 2px solid #e8e8e8;
    }
    .news-list {
        padding-left: 16px;
        width: 1200px;
        margin: auto;
    }
    .news-list li {
        float: left;
        width: 20%;
        height: 160.75px;
        margin: 20px 0 10px;
    }
    .newslistbox1 {
        width: 239.2px;
        height: 150.75px;
        padding: 0 8px;
    }
    .newslistbox2 {
        width: 239.2px;
        height: 150.75px;
        margin-bottom: 10px;
    }
    .newslistbox2 a:hover {
        color: #00cf8c;
    }
    .newslistbox2  p {
        width: 223.2px;
        height: 22px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }
    .newslistboximgbox {
        width: 223.2px;
        height: 122.75px;
        margin-bottom: 6px;
    }
    .newslistboximgbox img {
        width: 223.2px;
        height: 122.75px;
    }
</style>